Modified nodal analysis